You can use the Wait shape to pause a process in the life cycle of a case. By defining the conditions that cause a process to wait, you can create dependencies among cases in your application.
Click the Wait shape.
Define the conditions that must be met before the process can resume.
In the Wait type list, select Timer.
Click Reference date/time.
Define a date in one of the following ways:
In the Date/Time field, press the Down Arrow key, and select the name of a property that stores a date and time.
Click the Gear icon next to the Date/Time field, and create an expression that returns a date and time value.
For more information about expressions, see: Building expressions with the Expression Builder
In the Wait type list, select Timer.
Click Set date/time interval.
Enter integers in one or more of the fields that are displayed, based on the interval of time that the case must wait.
For example, you can pause processing for a number of months, or you can be more specific by providing a number of hours and minutes.
In the Wait type list, select Case Dependency.
In the Wait for (Case type) lists that are displayed, define the type of cases on which the process waits:
In the first list, select Any or All to indicate how many cases must reach a specific status before the process resumes.
In the second list, select the case type from which the cases are created.
Tip: To select a case type that is not in the list, select Other from the Scope list, and then provide the class that defines the case type in the Class field.
If the case type has more than one parent in your case type-hierarchy, select an option from the Scope list that identifies the instance on which the process waits.
Click To reach status.
In the field that is displayed, press the Down Arrow key and select a status value.
In the Wait type list, select Case Dependency.
In the Wait for (Case type) lists that are displayed, define the type of cases on which the process waits:
In the first list, select Any or All to indicate how many cases must be resolved before the process resumes.
In the second list, select the case type from which the cases are created.
Tip: To select a case type that is not in the list, select Other from the Scope list, and then provide the class that defines the case type in the Class field.
If the case type has more than one parent in your case type-hierarchy, select an option from the Scope list that identifies the instance on which the process waits.
Click To be resolved.
A case is resolved when the case status is set to a value that starts with the word "Resolved."
Optional: To allow case workers to cancel the wait conditions so that they can continue processing a case, select the Users can choose to continue process check box.
When you select this option, the underlying assignment that supports the Wait shape becomes eligible for not only manual processing but also routing logic, bulk processing, and transfers in your application.
Click Save.